package com.wty.kebiancanshu;

/**
 *
 * @Author wangtengyu
 * @Create 2018-07-17-10:47
 */
public class Test {
    //可变参数方法
    public static void m1(String... ss) {
        for (int i = 0; i < ss.length; i++) {
            System.out.println(ss[i]);
        }
    }
    //固定参数方法
    public static void m1(String s){
        System.out.println("-------");
    }


    public static void main(String[] args) {
        m1("12345");
        m1("aaa", "bbb");
    }
}
